<template>
  <PageWrapper :class="prefixCls" contentBackground contentFullHeight>
    <div class="w-full h-200">
      <BpmnChart :xml="xmlStr" />
    </div>
  </PageWrapper>
</template>

<script lang="ts" setup name="BpmnProcess">
  // import { ref } from 'vue';
  import { useDesign } from '/@/hooks/web/useDesign';
  import { PageWrapper } from '/@/components/Page';
  import { BpmnChart } from '/@/components/BpmnChart';
  import { xmlStr } from './xmlDemo';

  const { prefixCls } = useDesign('bpmn-process');

  // const processXml = ref<string | undefined>(undefined);
</script>
<style lang="less" scoped></style>
